subroutine foo
#ifdef WITH_ADIOS2
  use adios2
#endif
end subroutine foo
